package com.syh.jn.scm.domain.downstream.event;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.downstream.entity.finance.DownStatementAccountBill;

public class DownStatementAccountBillEvent extends DomainEvent<DownStatementAccountBill> {

    public static final String DOWN_STATEMENT_BILL_ACCOUNT_CREATED = "downStatementBillAccountCreated";
    public static final String DOWN_STATEMENT_BILL_ACCOUNT_UPDATA = "downStatementBillAccountUpdata";
    public static final String DOWN_STATEMENT_BILL_ACCOUNT_DESTORY = "downStatementBillAccountDestory";

    public static DownStatementAccountBillEvent bulidDownStatementBillAccountCreated(Object[] values) {
        DownStatementAccountBillEvent stateEvent = new DownStatementAccountBillEvent();
        stateEvent.eventName = DOWN_STATEMENT_BILL_ACCOUNT_CREATED;
        stateEvent.values = values;
        return stateEvent;
    }

    public static DownStatementAccountBillEvent bulidDownStatementBillAccountUpdata(Object[] values) {
        DownStatementAccountBillEvent stateEvent = new DownStatementAccountBillEvent();
        stateEvent.eventName = DOWN_STATEMENT_BILL_ACCOUNT_UPDATA;
        stateEvent.values = values;
        return stateEvent;
    }

    public static DownStatementAccountBillEvent bulidDownStatementBillAccountDestory(Object[] values) {
        DownStatementAccountBillEvent stateEvent = new DownStatementAccountBillEvent();
        stateEvent.eventName = DOWN_STATEMENT_BILL_ACCOUNT_DESTORY;
        stateEvent.values = values;
        return stateEvent;
    }

}
